FILE(READ ${OOVIEWER_TEMP_DOXYGEN_INPUT} files)

STRING(REGEX REPLACE "\n" ";" files ${files})

FOREACH(file ${files})
    SET(OOVIEWER_DOXYGEN_INPUT_FILES "${OOVIEWER_DOXYGEN_INPUT_FILES} \\\n${file}")
ENDFOREACH(file ${files})


SET(OOVIEWER_DOXYGEN_INPUT_FILTER "${PROJECT_SOURCE_DIR}/doc/filter.py")


CONFIGURE_FILE("${PROJECT_SOURCE_DIR}/doc/Doxyfile.in" "${PROJECT_BINARY_DIR}/doc/Doxyfile")

FILE(REMOVE ${OOVIEWER_TEMP_DOXYGEN_INPUT})
